package boot.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @Author: zhiyu
 * @Date:17:08
 * @DESC:
 */
@Data
public class Person {
    private String userName;
    private Integer age;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate birth;
    private Pet pet;
}
